﻿using System;
using System.Collections.Generic;

namespace HigLabo.Net.Twitter
{
    /// <summary>
    /// 
    /// </summary>
    public class UpdateProfileBannerCommand : TwitterCommand
    {
        /// <summary>
        /// 
        /// </summary>
        public String Banner { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public Int32 Width { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public Int32 Height { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public Int32 OffsetLeft { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public Int32 OffsetTop { set; get; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        protected override IDictionary<String, String> CreateParameters()
        {
            Dictionary<String, String> d = new Dictionary<String, String>();
            d["banner"] = this.Banner;
            d["width"] = this.Width.ToString();
            d["height"] = this.Height.ToString();
            d["offset_left"] = this.OffsetLeft.ToString();
            d["offset_top"] = this.OffsetTop.ToString();
            return d;
        }
    }
}
